const model = {
  key: "baidu-aip",
  name: "百度智能云",
  group: ["baidu", "ai"],

  libs: [
    {
      key: "baiduAipSdk",
      name: "baiduAipSdk",
      href: "https://github.com/Baidu-AIP/nodejs-sdk",
    },
  ],
  config: {
    appid: {
      key: "appid",
      value: "",
      description: "appid",
      remark: "",
      required: true,
    },
    apiKey: {
      key: "apiKey",
      value: "",
      description: "apiKey",
      remark: "",
      required: true,
    },
    secretKey: {
      key: "secretKey",
      value: "",
      description: "secretKey",
      remark: "",
      required: true,
    },
  },
  template: [
    {
      key: "base",
      name: "基础",
      input: {},
      output: {},
      url: "/api/libs/baidu-aip/base.js",
    },
  ],
};

module.exports = model;
